//
//  UITableView+Adapt_iOS11.m
//  ccZone
//
//  Created by 陈小娟 on 2017/12/14.
//  Copyright © 2017年 CC. All rights reserved.
//

#import "UITableView+Adapt_iOS11.h"

@implementation UITableView (Adapt_iOS11)

-(void)adaptation {
    self.estimatedSectionHeaderHeight = 0;
    self.estimatedSectionFooterHeight = 0;
    if (@available(iOS 11.0, *)) {
        self.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
    }
}

@end
